package com.shuyun.spring4.showcase.wiseconfiguration;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * Created by feng.ding on 2017/1/4.
 */
public class MockMain {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(MockConfig.class);
        MockService mockService = context.getBean(MockService.class);
        mockService.outputResult();
        context.close();
    }
}
